#include "board/cpu/cpu.h"
#include "common/status.h"

namespace vision {

void* CPUDevice::Alloc(const size_t bytes) {
    return malloc(bytes);
}

void CPUDevice::Free(void* ptr) {
    (void)free(ptr);
}

Status CPUDevice::CopyFromTo(Device& device, const char* from, char* to, const size_t bytes)
{
    return SUCCESS;
}

Status CPUDevice::MapFromTo(Device& device, const char* from, char* to, const size_t bytes)
{
    return SUCCESS;
}
} // namespace vision